/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */



/**
 *
 * @author SHABRINA
 */
public class Min extends UkuranPenyebaran {
    
        public static double hitung(Data data){
        Min.data=data;
        ukuran = data.getData(0);
        for(int i=1; i < data.getSize(); i++) {
            if(data.getData(i) < ukuran) 
                ukuran = data.getData(i);
        }
        return ukuran;
    }
}
